package com.leyou.user.inter.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author zqq
 * @ClassName AuthorizeTreeVO
 * @Description: 权限的树状结构
 * @date 2020/3/28-12:17
 */
@Data
public class AuthorizeTreeVO {

    /** 权限id */
    @ApiModelProperty(value = "权限id", name = "id")
    private Long id;

    /** 权限名 */
    @ApiModelProperty(value = "权限名", name = "name")
    private String name;

    /** 子权限 */
    @ApiModelProperty(value = "子权限", name = "children")
    private List<AuthorizeTreeVO> children;

}
